# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-thumbnailer
pkgver=1.0.4
pkgrel=1
pkgdesc="Nemo QML thumbnailer plugin"
url="https://github.com/sailfishos/nemo-qml-plugin-thumbnailer"
arch="all"
license="BSD-3-Clause"
depends_dev="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/nemo-qml-plugin-thumbnailer/archive/$pkgver/nemo-qml-plugin-thumbnailer-$pkgver.tar.gz"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
482948a22c56e78264bcdc2863f525881e6d3ff85764baa00f14f0abdae4b951a2cc648619e6cc4afeb05f238ab759787e7e5b0743b1dec87d1dab14787df038  nemo-qml-plugin-thumbnailer-1.0.4.tar.gz
"
